package com.board.dto;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class StoreNoticeDto {
    private Integer storeNoticeId;
    private Integer storeId;
    private String storeNoticeTitle;
    private String storeNoticeContent;
    private LocalDateTime createTime;
    private Integer state;
    public String getStateInfo() {
        return state == 0 ? "启用" : "禁用";
    }
}
